cmake_minimum_required(VERSION 3.25)

# 必须设置为x64-windows-static-md才能在windows上进行静态库链接
set(VCPKG_TARGET_TRIPLET x64-windows-static-md)
#set(CMAKE_TOOLCHAIN_FILE C:/Users/Administrator/.clion-vcpkg/vcpkg/scripts/buildsystems/vcpkg.cmake)
#include(D:/codeSofts/vcpkg/scripts/buildsystems/vcpkg.cmake)

project(StaticVcpkgDemo)

find_package(cppzmq CONFIG REQUIRED)

add_executable(${PROJECT_NAME}
        main.cpp)

target_link_libraries(${PROJECT_NAME}
        PRIVATE
        cppzmq
        cppzmq-static
        )
